class Admin::LoughsController < Admin::BaseController
  def new
    @lough = Lough.new
  end
  
  def create
    @lough = current_user.create_lough(params[:lough].symbolize_keys)
    if @lough.save
      flash[:notice] = 'Create lough successfully.'
      redirect_to lough_index_url(:screen_name => @lough.screen_name)
    else
      render :action => 'new'
    end
  end
end
